package com.xz.knowledgeDuplication.pattern.iterator;

/**
 * 抽象聚合角色
 *
 * @author 召
 * @date 2022-03-29 20:57:08
 */
public interface Aggregate<T> {

    void add(T object);

    void remove(T object);

    Iterator<T> getIterator();
}
